mapbox-maps-android
/
com.mapbox.maps
/
[androidJvm]CameraOptions
/
Builder
Builder
class
Builder
Content copied to clipboard
Constructors
Functions
Constructors
Builder
Link copied to clipboard
open fun
Builder
()
Content copied to clipboard
Functions
anchor
Link copied to clipboard
open fun
anchor
(anchor:
ScreenCoordinate
):
CameraOptions.Builder
Content copied to clipboard
Point of reference for `zoom` and `angle`, assuming an origin at the top-left corner of the view.
bearing
Link copied to clipboard
open fun
bearing
(bearing:
Double
):
CameraOptions.Builder
Content copied to clipboard
Bearing, measured in degrees from true north.
build
Link copied to clipboard
open fun
build
():
CameraOptions
Content copied to clipboard
center
Link copied to clipboard
open fun
center
(center:
Point
):
CameraOptions.Builder
Content copied to clipboard
Coordinate at the center of the camera.
padding
Link copied to clipboard
open fun
padding
(padding:
EdgeInsets
):
CameraOptions.Builder
Content copied to clipboard
Padding around the interior of the view that affects the frame of reference for `center`.
pitch
Link copied to clipboard
open fun
pitch
(pitch:
Double
):
CameraOptions.Builder
Content copied to clipboard
Pitch toward the horizon measured in degrees.
zoom
Link copied to clipboard
open fun
zoom
(zoom:
Double
):
CameraOptions.Builder
Content copied to clipboard
Zero-based zoom level.